<include file="Public/header"/>
<volist name="groups" id="vo">
<div class="row">
<h1 class="title">欢迎来到我的社团:{$vo.groupname}</h1>

<div class="col-md-4">
<table class="group table .table-bordered .table-hover">
<h3 class="m">社团信息:</h3>
<tr><th>所在团队:</th><td>{$vo.team}</td></tr>
<tr><th>成立日期:</th><td>{$vo.regtime}</td></tr>
<tr><th>添加时间:</th><td>{$vo.createtime}</td></tr>
<tr><th>社团简介:</th><td>{$vo.intro}</td></tr>
<tr><th>社团logo:</th><td><img src="__PUBLIC__/Uploads/logo/{$vo.logo}"></td></tr>
<tr><th>负责人学号:</th><td>{$vo.leader}</td></tr>
</table></div>
<h5 class="shenqing"><a href="{:U('Index/updateGroupInfo',array('id'=>$vo['gid']))}">修改社团信息</a></h5>
<h5 class="shenqing2"><a href="{:U('Index/userPractice',array('id'=>$vo['gid']))}">查看举办的活动</a></h5>
</volist>

<div class="col-md-offset-6 col-md-4">
<h3 class="user1">社团成员信息:</h3>
	<table class="table1 table .table-bordered">
	<tr><th>学号:</th><th>姓名:</th><th>状态</th><th>操作</th></tr>
	<volist name="members" id="vi">
	<tr><td>{$vi.stunum}</td><td>{$vi.realname}</td>
	<td>
		<if condition="$vi.state eq 0">待审批
		<elseif condition="$vi.state eq 1"/>普通成员
		<else/>负责人</if>
	</td>
	<td>
		<ul>
      <if condition="$vi.state eq  0"><li><a href="{:U('Index/setGroupUser',array('id'=>$vi['id']))}"><i class="icon-envelope"></i>审批通过</a></li>
      </if>
       <li><a href="{:U('Index/delGroupUser',array('id'=>$vi['id']))}"><i class="icon-edit"></i>删除</a></li>
 </ul>
	</td>
	</tr>

	</volist>
	</table>
</div>
</div>
<include file="Public/footer"/>